home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Welcome Options 1.xpl < prev    next >
Text File  |  2002-01-20  |  2KB  |  77 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="4"
  4. "UIPATH 1"="Appearance\System\Message Windows"
  5. "UIPATH 2"="Startup/Shutdown\Startup\Windows 9x/ME\80) Windows Launch"
  6. "UIPATH 3"="Startup/Shutdown\Startup\Windows NT/2K/XP\60) Windows Launch"
  7. "NAME"="Welcome Messages"
  8. "VERSION"="1.52"
  9. "LANGUAGE"="VBScript"
  10. "OSVERSION"="111"
  11. "TEXT 1"="Show Windows "Welcome" window"
  12. "TEXT 2"="Show Internet Explorer "Welcome" window"
  13. "TEXT 3"="Show animated "<- Click here to begin""
  14. "TEXT 4"="Show pop-up messages during Login"
  15. "DESCRIPTION 1"="Some options about the startup-process."
  16. "AUTHOR"="Xteq Systems"
  17. "CONTACTURL"="http://www.xteq.com/"
  18. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  19. "COMMENT 1"=" "
  20.  
  21.  
  22. Sub Plugin_Initialize 
  23.  i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\Show")
  24.  if i=1000 then SetUIElement 1,true
  25.  if IsEmpty(i) then SetUIElement 1,true
  26.  
  27.  i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\ShowIE4")
  28.  if i=1 then SetUIElement 2,true
  29.  
  30.  i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStartBanner")
  31.  if i=0 then SetUIElement 3,true
  32.  
  33.  i=RegReadValue("HKLM\System\CurrentControlSet\Control\Windows\NoPopUpsOnBoot")
  34.  if i=0 then SetUIElement 4,true
  35. End Sub
  36.  
  37.  
  38. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  39.  b=GetUIElement(1)
  40.  if b=true then
  41.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\Show","1000",3)
  42.  else
  43.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\Show","0000",3)
  44.  end if
  45.  
  46.  b=GetUIElement(2)
  47.  if b=true then
  48.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\ShowIE4",1,2)
  49.  else
  50.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\ShowIE4",0,2)
  51.  end if
  52.  
  53.  b=GetUIElement(3)
  54.  if b=true then
  55.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStartBanner",0,2)
  56.  else
  57.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStartBanner",1,2)
  58.  end if
  59.  
  60.  b=GetUIElement(4)
  61.  if b=true then
  62.   Call RegWriteValue("HKLM\System\CurrentControlSet\Control\Windows\NoPopUpsOnBoot","0",1)
  63.  else
  64.   Call RegWriteValue("HKLM\System\CurrentControlSet\Control\Windows\NoPopUpsOnBoot","1",1)
  65.  end if
  66.  
  67.  
  68.  Call Restart()
  69. End Sub
  70.  
  71.  
  72. Sub Plugin_Terminate 
  73. End Sub
  74.  
  75.  
  76.  
  77.